home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PRINTER
/
2SIDES.ARJ
/
HINSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-26
|
1KB
|
48 lines
@echo off
if %1x==x goto usage
set TEMP=%1
if %1x==a:x goto floppy
if %1x==A:x goto floppy
if %1x==b:x goto floppy
if %1x==B:x goto floppy
set TEMP=%1\BOTHSIDE
cls
echo .
echo . Creating a subdirectory for BothSide! ...
echo .
md %1\bothside
:floppy
echo .
echo . Copying files to drive %1 ...
echo .
copy bothside.* %TEMP%
if %TEMP%==%1\BOTHSIDE goto hard
goto done
:done
cls
echo .
echo . Installation is complete. This batch file will now
echo . start BothSides! and instruct it to print a copy of
echo . the manual. You will be given an opportunity to
echo . get your printer ready, or cancel this operation,
echo . once the program has started, so don't panic yet
echo . if you or your printer is not ready.
echo .
pause
%TEMP%\bothside /m
goto end
:usage
cls
echo .
echo .
echo . You must specify the drive you are installing to.
echo . For example, if you wish to install to drive D:, type
echo .
echo . hinstall d:
echo .
goto end
:hard
copy read*.* %TEMP%
goto done
:end